#ifndef COMFUN_H_
#define COMFUN_H_
#include <stdint.h>

#define ARRAY_SIZE(array)   (sizeof(array)/sizeof(array[0]))
#define swap(a, b) do {a ^= b; b ^= a; a ^= b;} while (0)
void reverse(void *buff, int len);

#endif
